package com.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yeyuan
 * @since 2021-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Course对象", description="")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程唯一编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程类别")
    private String category;

    @ApiModelProperty(value = "课程学分")
    private String credits;

    @ApiModelProperty(value = "教师")
    private String teacherName;

    @ApiModelProperty(value = "开设学院")
    private String college;

    @ApiModelProperty(value = "总体评价")
    private Integer evaEntire;

    @ApiModelProperty(value = "评价总数")
    private Integer evaCnt;

    @ApiModelProperty(value = "评价状态")
    private String status;


}
